package com.juneng.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 实体类
 *
 * @author zds
 * @since 2021-07-14
 */
@Data
@ApiModel(value = "BookType对象", description = "BookType对象")
@TableName("book_type")
public class BookType implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增id
     */
  @ApiModelProperty(value = "自增id")
  @TableId(value = "book_type_id", type = IdType.AUTO)

  private Long bookTypeId;
    /**
     * 上级分类的编号
     */
  @ApiModelProperty(value = "上级分类的编号")

  private Long parentId;
    /**
     * 书籍类型名称
     */
  @ApiModelProperty(value = "书籍类型名称")

  private String bookTypeName;
    /**
     * 书籍数量
     */
  @ApiModelProperty(value = "书籍数量")

  private Integer bookCount;
    /**
     * 分类级别：0->一级；1->二级；2->顶级
     */
  @ApiModelProperty(value = "分类级别：0->一级；1->二级；2->顶级")

  private Integer bookLevel;
    /**
     * 书籍图片
     */
  @ApiModelProperty(value = "书籍图片")

  private String bookPic;
    /**
     * 创建时间
     */
  @ApiModelProperty(value = "创建时间")

  private LocalDateTime typeCreateDate;
    /**
     * 修改时间
     */
  @ApiModelProperty(value = "修改时间")

  private LocalDateTime typeUpdateDate;
    /**
     * 逻辑删除：0->不删除 1->删除
     */
  @ApiModelProperty(value = "逻辑删除：0->不删除 1->删除")

  private Integer deleted;

  private Integer position;


}
